$OpenBSD: patch-premake4_lua,v 1.2 2016/12/29 14:07:11 awolk Exp $
--- premake4.lua.orig	Mon May 19 10:42:14 2014
+++ premake4.lua	Thu Dec 29 12:28:14 2016
@@ -44,10 +44,13 @@ end
 
 configuration "bsd"
 	libdirs {
-		"/usr/local/lib",
+		"${LOCALBASE}/lib",
+		"${X11BASE}/lib",
 	}
 	includedirs {
-		"/usr/local/include",
+		"${LOCALBASE}/include",
+		"${LOCALBASE}/include/SDL2",
+		"${X11BASE}/include/",
 	}
 
 if _OPTIONS.wincross then
@@ -86,8 +89,9 @@ configuration "Debug"
 
 configuration "Release"
 	defines { "NDEBUG=1" }
-	flags { "Optimize", "NoFramePointer" }
-	buildoptions { "-O2" }
+       flags { "Symbols" }
+--	flags { "Optimize", "NoFramePointer" }
+--	buildoptions { "-O2" }
 	targetdir "bin/Release"
 
 
